package com.arpa.oms.mapper;

import com.arpa.oms.domain.dto.OmsAllocationItemDTO;
import com.arpa.oms.domain.entity.OmsAllocationItem;
import com.arpa.oms.domain.vo.OmsAllocationItemVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * OMS调拨单明细 Mapper 接口
 * </p>
 *
 * @author LEO
 * @since 2020-11-17
 */
public interface OmsAllocationItemMapper extends BaseMapper<OmsAllocationItem> {

    /**
     * 查询列表
     * @param omsAllocationItemDTO
     * @return
     */
    List<OmsAllocationItemVO> queryList(OmsAllocationItemDTO omsAllocationItemDTO);

    /**
     * 查询合计,包含总数
     * @param omsAllocationItemDTO
     * @return
     */
    OmsAllocationItemVO queryListSum(OmsAllocationItemDTO omsAllocationItemDTO);
}
